@import './base.css';

* {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html,
body,
#app,
.el-container {
    height: 100%;
    overflow: hidden;
}

.app-header {
    background-color: var(--color-deep-1);
    height: 40px;
    line-height: 40px;
}

.app-title {
    font-size: 18px;
    color: #FFFFFF;
    display: inline;
    text-indent: 15px;
}

.no-padding {
    padding: 0px;
}

.app-fit-tab {
    height: 100%;
    --el-tabs-header-height: 30px;
}

.app-fit-tab>.el-tabs__header {
    margin-bottom: 0px;
    flex-shrink: 0;
    width: 100%;
    --el-font-size-base: 12px;
}

.app-fit-tab>.el-tabs__content {
    /* flex: 1;
    flex-basis:auto; */
    flex: auto;
    flex-grow: 1;
}

.app-fit-tab>.el-tabs__content>.el-tab-pane {
    height: 100%;
}

.app-nav-tab {
    height: 100%;
    --el-tabs-header-height: 30px;
    /* display: flex; */
    /* flex-direction: column; */
}

.app-nav-tab>.el-tabs__header {
    margin-bottom: 0px;
    flex-shrink: 0;
    width: 100%;
    background-color: var(--color-deep-1);
    border-bottom: none;
    padding: 0px;
}

.app-nav-tab>.el-tabs__header .el-tabs__nav {
    border: none;
}

.app-nav-tab>.el-tabs__header .el-tabs__item {
    font-weight: normal;
    height: 29px;
    margin: 0px 10px 0px 0px;
    border: none;
    background-color: var(--color-light-1);
    border-radius: 4px 4px 0px 0px;
    color: var(--color-char-light-1);
    padding: 0px 12px 0px 12px !important;
}

.app-nav-tab>.el-tabs__header>.el-tabs__nav-wrap {
    padding: 0px 12px 0px 12px;
}

.app-nav-tab>.el-tabs__header .el-tabs__item:hover {
    background-color: var(--color-light-2);
    color: inherit;
}

.app-nav-tab>.el-tabs__header .el-tabs__item.is-active {
    background-color: var(--color-deep-2);
    color: var(--color-white);
}

.app-nav-tab>.el-tabs__content {
    /* flex: 1;
    flex-basis:auto; */
    flex: auto;
    flex-grow: 1;
    padding: 0px;
}

.app-nav-tab>.el-tabs__content .el-tab-pane {
    height: 100%;
    width: 100%;
}

.app-link {
    color: var(--color-white);
    text-decoration: none;
    user-select: none;
}

.app-link:hover {
    color: var(--color-light-1);
}

.app-table-1 {
    table-layout: fixed;
    border-spacing: 0px;
}

.app-table-1 tr td {
    padding: 0px 0px 8px 0px;
}

.app-table-1 tr th {
    padding: 0px 6px 8px 6px;
    font-weight: normal;
    text-align: left;
}

.app-toolbar-1 {
    line-height: 30px;
    height: 30px;
    background-color: var(--color-deep-2);
    cursor: default;
    color: var(--color-white);
}

.app-toolbar-2 {
    background-color: var(--color-light-2);
    cursor: default;
}

.lib-op-i {
    display: flex;
    align-items: center;
    height: 28px;
    gap: 8px;
    font-size: 18px;
    padding-left: 8px;
}

.lib-op-i i svg {
    cursor: pointer;
    height: 18px;
    width: 18px;
}

.el-tree.lib-tree {
    --el-tree-text-color: #000000;
    --el-tree-node-content-height: 20px;
    transition: none !important;
}

.app-dialog {
    box-shadow: 0 0 20px 6px #C1C1C1;
    position: absolute;
    border: 2px solid var(--color-deep-1);
    display: flex;
    flex-direction: column;
}

.app-dialog-head {
    background-color: var(--color-deep-1);
    width: 100%;
    line-height: 30px;
    font-size: 14px;
    color: #FFFFFF;
    cursor: default;
    text-indent: 6px;
    height: 32px;
    flex-grow: 0;
}

.app-dialog-close {
    float: right;
    margin-right: 15px;
    cursor: pointer;
    padding: 2px 0px 0px 0px;
}

.app-dialog-close i {
    height: 26px;
    width: 26px;
}

.app-dialog-close i svg {
    height: 26px;
    width: 26px;
}

.app-dialog-body {
    flex-grow: 1;
    background-color: var(--color-white);
}

.app-toolbar-3 {
    line-height: 40px;
    height: 40px;
    cursor: default;
    border-bottom: 1px solid var(--color-light-2);
}

.app-secs-value {
    cursor: default;
    background-color: transparent;
    padding-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

.app-secs-value-inner {
    word-break: keep-all;
    word-wrap: normal;
    text-wrap: nowrap;
    background-color: var(--color-deep-2);
    color: var(--color-white);
    height: 20px;
    line-height: 20px;
    border-radius: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    padding: 0px 5px 0px 5px;
}

.app-secs-value-inner .el-icon {
    height: 12px;
    width: 12px;
    margin-left: 3px;
    cursor: pointer;
    border-radius: 5px;
}

.app-secs-value-inner .el-icon svg {
    height: 12px;
    width: 12px;
}

.app-secs-value-inner .el-icon:hover {
    background-color: var(--color-light-2);
    color: var(--color-deep-1);
}

.conn-options {
    flex-grow: 0;
    flex-shrink: 0;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    user-select: none;
    height: 100%;
    display: table-cell;
    align-content: center;
    padding: 0px 5px 0px 5px;
    cursor: pointer;
}

.conn-options:hover {
    color: #000000;
    background-color: var(--color-light-1);
}

.app-log-line {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: nowrap;
    padding: 3px 5px 2px 5px;
}

.app-log-line:hover {
    background-color: #F2F2F2;
}

.app-log-time {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto
}

.app-log-level {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 50px;
}

.app-log-content {
    flex-grow: 1;
    word-break: break-all;
}

.el-input-num-text-left .el-input__inner {
    text-align: left;
}

.el-collapse-transition-enter-active {
    transition: none !important;
}

.el-collapse-transition-leave-active {
    transition: none !important;
}

.title-ctl {
    float: left;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    margin-left: 5px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-ctl:hover {
    background-color: var(--hover-color);
}

.title-ctl i svg {
    font-size: 18px;
}

.eqp-var-list {
    list-style: none;
    cursor: pointer;
}

.eqp-var-list li {
    height: 32px;
    padding: 4px 4px 0px 4px;
    border-bottom: 1px solid #efefef;
}

.eqp-var-list li:not(.is-var-active):hover {
    background-color: var(--color-light-1);
}

.eqp-var-list li.is-var-active {
    background-color: var(--color-light-2);
}

.eqp-var-del-icon {
    font-size: 16px;
}

.eqp-var-del-icon svg {
    font-size: 16px;
}

.eqp-var-del-icon:hover {
    color: var(--el-color-error);
}

.app-link .el-dropdown-link {
    outline: none !important;
}